<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<c:set value="recruit" var="moduleName" scope="request" />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<title>专员省份列表</title>
	</head>
	<body>
		<table class="table-tab">
			<tr>
				<td class="td-tab">
					<a href="<c:url value="/console/recruit/recruitUserEx.do?method=list" />">用户管理</a>
				</td>
				<td class="td-tab cur-tab">
					<a href="<c:url value="/console/recruit/rmProvinceEx.do?method=list" />">区域划分</a>
				</td>
				<td class="td-tab-blank"></td>
			</tr>
		</table>
		<div class="div-content">
			<form action="<c:url value='/console/recruit/rmProvinceEx.do'/>" method="post">
				<table class="table-layout">
					<tr class="tr-thead">
						<th style="width:100px;">
							专员
						</th>
						<th>
							省份
						</th>
					</tr>
					<logic:present name="managers">
						<logic-el:iterate name="managers" id="manager" indexId="index">
							<tr class="<c:if test="${index % 2 == 0}">tr-odd</c:if><c:if test="${index % 2 == 1}">tr-even</c:if>">
								<td>
									<common:user name="manager" property="owner" />
									&nbsp;
								</td>
								<td>
									<logic-el:iterate id="rmProvince" name="manager" property="rmProvinces">
										<a href="<c:url value="rmProvinceEx.do?method=edit&id=" /><c:out value="${rmProvince.id}" />"><common:province name="rmProvince" property="provinceId" /></a>&nbsp;
							</logic-el:iterate>
								</td>
							</tr>
						</logic-el:iterate>
					</logic:present>
				</table>
			</form>
			<authz:authorize ifAnyGranted="admin,role_recruit_admin">
				<br />
				<div class="center-opertion">
					<input type="button" onclick="location.href='<c:url value='rmProvinceEx.do?method=edit'/>'" value="添加" />
					&nbsp;&nbsp;
				</div>
			</authz:authorize>
		</div>
	</body>
</html>
